home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
cmln1085.arc
/
P6.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1986-02-27
|
768b
|
27 lines
program p6; {input tester - sample mode only according to DEC}
{Live dangerously and try the request mode anyway!}
const request = 1;
sample = 0;
var x,y,i,j : integer; sx,sy, s : string[20];
p : ^integer;
{$iB:GSXWORK.INC}
{$iB:GSXTEXT.INC}
{$iB:GSXINPUT.INC}
begin
write('Enter workstation number > '); readln(i); writeln;
openstation(i);
setinputmode(1,1,i);
for j := 1 to 10 do
if inputlocator(1,request,x,y,x,y,p) > 0 then begin
str(x,sx); str(y,sy); s := '(' + sx + ',' + sy + ')';
showtext(s, length(s), x,y)
end;
readln;
clearstation;
closestation
end.